
package com.insigma.business.qrcode.intell._provider;




import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.intell.dto.CommonPolicyDTO;
import com.insigma.business.qrcode.intell.dto.CommonPolicyInsertRequest;
import com.insigma.business.qrcode.intell.dto.CommonPolicySearchRequest;
import com.insigma.business.qrcode.intell.dto.CommonPolicyUpdateRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;

import java.util.List;


public interface CommonPolicyProvider {

    
    BasePagingResponse<List<CommonPolicyDTO>> searchCommonPolicy(final CommonPolicySearchRequest commonPolicySearchRequest);

    BaseResponse<CommonPolicyDTO> getCommonPolicy(final BaseGetRequest baseGetRequest);


    BaseResponse<String> insertCommonPolicy(final CommonPolicyInsertRequest commonPolicyInsertRequest);


    BaseResponse<Integer> updateCommonPolicy(final CommonPolicyUpdateRequest commonPolicyUpdateRequest);


    BaseResponse<Integer> publishCommonPolicy(final CommonPolicyUpdateRequest commonPolicyUpdateRequest);


    BaseResponse<Integer> topCommonPolicy(final CommonPolicyUpdateRequest commonPolicyUpdateRequest);


    BaseResponse<Integer> deleteCommonPolicy(final BaseDeleteRequest deleteRequest);

}
